package com.mm.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @ClassName CategoryInsertBo
 * @Description TODO
 * @Author 任昊
 * @Date 2020/12/7 10:37
 */
@Data
@ApiModel(value = "新增物资种类传入参数", description = "新增物资种类传入参数")
public class CategoryInsertBo {

    @ApiModelProperty(value = "种类编号", name = "cateNum", required = true)
    @NotEmpty(message = "种类编号不能为空")
    private Long cateNum;

    @ApiModelProperty(value = "种类名称", name = "cateNum", required = true)
    @NotEmpty(message = "种类名称不能为空")
    private String cateName;

    private String token;

}
